package com.yunchang.springboot.models.DO.basic;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * SKU基础表
 * </p>
 *
 * @author ldw
 * @since 2020-06-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("base_sku_info")
@ApiModel(value="BaseSkuInfoDTO对象", description="SKU基础表")
public class BaseSkuInfoDTO extends Model<BaseSkuInfoDTO> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "REMIND_ID",type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private String id;

    @ApiModelProperty(value = "店铺SELLER_ID")
    private String sellerId;

    @ApiModelProperty(value = "区域")
    private String area;

    @ApiModelProperty(value = "识别商品的唯一序列。SKU 由卖家自行分配")
    private String sku;

    @ApiModelProperty(value = "父SKU")
    private String parentSku;

    @ApiModelProperty(value = "品类")
    private String category;

    @ApiModelProperty(value = "创建人 ID")
    private String addUser;

    @ApiModelProperty(value = "创建时间")
    private String addTime;

    @ApiModelProperty(value = "修改人 ID")
    private String modUser;

    @ApiModelProperty(value = "修改时间")
    private String modTime;

    @ApiModelProperty(value = "排序字段，注意是整型")
    private Integer orderTag;

    @ApiModelProperty(value = "备注信息")
    private String remarks;


    @Override
    protected Serializable pkVal() {
        return null;
    }

}
